package ddcp;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;

public class DDCP 
{
	HardwareConfiguration myHardware;
	HashMap<String, User> myUsers;
	HashMap<String, DoomsdayDevice> myDevices;
	List<PostActionReport> myPARs;
	List<Log> myLogs;
	
	public DDCP()
	{
		myHardware = new HardwareConfiguration();
		myUsers = new HashMap<String, User>();
		myDevices = new HashMap<String, DoomsdayDevice>();
		myPARs = new LinkedList<PostActionReport>();
		myLogs = new LinkedList<Log>();
	}
	
	boolean canPerformAction( User user, String action )
	{
		return false;
	}
	
	void addUser( User newUser )
	{
		return;
	}
	
	User removeUser( User toBeRemoved )
	{
		return new User();
	}
	
	Configuration configureDevice( DoomsdayDevice dev )
	{
		return new Configuration();
	}
	
	void activateDevice( DoomsdayDevice which, Configuration config )
	{
		return;
	}
	
	User modifyUser( User u, int accessLevelChange )
	{
		return new User();
	}
}
